package cz.uhk.max.util;

public class NumberUtils {
	
	public static long percent(Long val1, Long val2){
		if (val1 != null && val2 != null && val2 != 0)
			return (long)((val1.floatValue() / val2.floatValue()) * 100);
		else
			return 0;
	}
	
}
